{include file="public/header" title="伯乐王教育后台管理" /}
    <section class="container-fluid" style="margin-top: 60px;">
		{include file="public/aside" setting='active' }
		<div class="col-xs-9  col-xs-offset-3">
			<ol class="breadcrumb">
	          <li><a href="{:url('admin/index')}">首页</a></li>
	          <li class="active">设置</li>
	        </ol>
	        <div class="panel panel-default">
	         <div class="panel-heading">
		        <ul class="nav nav-tabs nav-justified" id="switch">
		            <!-- <li id='1'><a href="javascript:void(0)">修改个人信息</a></li> -->
		            <li id='2' class="active"><a href="javascript:void(0)">注册用户查看</a></li>
		        </ul>
		     </div>
		     <div class="panel-body" id="changepanel">
		      <div class="panel1 show1">
		     	<table class="table table-bordered table-hover table-responsive">
		          <thead>
		          <tr>
		            <th>#</th>
		            <th>用户名</th>
		            <th>邮箱</th>
		            <th>电话</th>
		            <th>操作</th>
		            <th>状态</th>
		          </tr>
		          </thead>
		          	{volist name='list' id='user'}
		          <tr>
		            <td>{$user.id}</td>
		            <td>{$user.username}</td>
		            <td>{$user.email}</td>
		            <td>{$user.phone}</td>
		            <td>
		              <button class="btn btn-default btn-danger">删除</button>
		              {if($user.status==0)}
		              <button class="btn btn-default btn-success">激活</button>
		              {else /}
		              <button class="btn btn-default btn-danger">禁用</button>
		              {/if}
		            </td>
		            {if($user.status==0)}
		            <td>已禁用</td>
		            {else /}
		            <td>已激活</td>
					{/if}
		          </tr>
		            {/volist}
		        </table>
		        {$page}
		      </div>
		      <div class="panel2 hide1">
		      	<form>
		          <div class="form-group has-error">
		            <label class="control-label" for="exampleInputEmail1">Email address</label>
		            <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">
		          </div>
		          <div class="form-group has-success">
		            <label class="control-label" for="exampleInputPassword1">Password</label>
		            <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
		          </div>
		          <div class="form-group">
		            <label class="control-label" for="exampleInputFile">File input</label>
		            <input type="file" id="exampleInputFile">
		            <p class="help-block">Example block-level help text here.</p>
		          </div>
		          <div class="checkbox">
		            <label>
		              <input type="checkbox"> Check me out
		            </label>
		          </div>
		          <div class="radio">
		            <label>
		              <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
		              Option one is this and that&mdash;be sure to include why it's great
		            </label>
		          </div>
		          <select class="form-control">
		            <option>1</option>
		            <option>2</option>
		            <option>3</option>
		            <option>4</option>
		            <option>5</option>
		          </select>
		          <textarea class="form-control" rows="3"></textarea>
		          <button type="submit" class="btn btn-default">Submit</button>
		        </form>
		      </div>
		     </div>
	        </div>
        </div>
	</section>
	{load href="__PUBLIC__static/js/jquery.min.js"}
	{load href="__PUBLIC__static/js/jquery.validate.min.js"}
	<script data-main="__PUBLIC__admin/js/main" src="__PUBLIC__admin/js/require.js"></script>
	{include file="public/footer"}